﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepStorage.Service.Interface
{
    /// <summary>
    /// 栏位服务接口
    /// </summary>
    public interface ISheepFieldService
    {
       /// <summary>
       /// 栏位添加
       /// </summary>
       /// <param name="sheepField"></param>
       /// <returns></returns>
        Task<int> AddSheepField(SheepField  sheepField);

        /// <summary>
        /// 根据栋舍id获取栏位列表
        /// </summary>
        /// <param name="BuildingManagementId">栋舍id</param>
        /// <returns></returns>
        Task<List<SheepField>> GetSheepField(int BuildingManagementId);
        
    }
}
